﻿{% extends 'bootstrap/base.html' %}
{% block scripts %}
{{ super() }}
{{ moment.include_moment()}}
{% endblock %}
	

{% block head %}
{{super()}}
<link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='style.css') }}">
{% endblock %}

<!--添加样式boostrap cdn里的-->
{% block styles %}
{{ super() }}
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootswatch/3.3.7/cosmo/bootstrap.min.css"/>
{% endblock %}
{% block navbar %}
{% include 'includes/_navbar.html' %}

{% endblock %}
{% block head_content %}
  {% with messages = get_flashed_messages() %}
        {% for message in messages %}
            <div class="alert alert-warning">
            <button class="close" type="button" data-dismiss="alert"> &times;</button>
             {{message}}
             </div>
        {% endfor %}
  {% endwith %}
{% endblock %}
{% block alert %}
  {% with messages = get_flashed_messages() %}
  {% for message in messages %}
  <div class="alert-info"> {{message}}</div>
  {% endfor %}
  {% endwith %}
{% endblock %}

{% block content %} 
      {% endblock %}
{% block footer %}
<footer>
    Copright 2016 by <a href="scu.edu.cn">四川大学</a>
</footer>
{% endblock %}
